<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<style>
	.p1{
		display:inline-block;
	}
	
	p{
	
		border:1px solid red;
		margin:0;
	}

</style>

</head>
<body>
	<p class="p1">111</p>
	<p class="p1">222</p>
	<p>333</p>
	
</body>
</html>